package gases.as3.librarys.compnents.events
{
	import flash.events.Event;
	
	public class GButtonEvent extends Event
	{
		/**
		 * 鼠标按下事件 
		 */		
		public static const BUTTON_DOWN:String = "buttonDown";
		
		/**
		 * 按钮弹起事件 
		 */		
		public static const BUTTON_UP:String = "buttonUp";
		
		/**
		 * 按钮移入事件 
		 */		
		public static const BUTTON_OVER:String = "buttonOver";
		
		/**
		 * 按钮移出事件 
		 */		
		public static const BUTTON_OUT:String = "buttonOut";
		
		/**
		 * 按钮点击事件 
		 */		
		public static const BUTTON_CLICK:String = "buttonClick";
		
		/**
		 * 按钮选定事件 。
		 * <p>此事件具有以下屬性值:</p>
		 * <table class="innertable">
		 *    <tr><th>屬性名稱</th><th>值</th></tr>
		 *    <tr><td><code>bubbles</code></td><td>false</td></tr>
		 *    <tr><td><code>cancelable</code></td><td>false</td></tr>
		 *    <tr><td><code>data</code></td><td>帶有用戶參數</td></tr>
		 * </table>
		 * @eventType myEventType
		 */		
		public static const BUTTON_SELECT:String = "button_select";
		
		/**
		 * 按钮解除选定事件 
		 */		
		public static const BUTTON_UNSELECT:String = "button_unselect";
		
		public function GButtonEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
		}
	}
}



